.bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  background-color: #f1f2f9;
  .top-box {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    height: 56px;
    float: left;
    box-sizing: border-box;
    padding-left: 30px;
    padding-right: 30px;
    background-color: white;
    line-height: 56px;
    border-bottom: 1px solid #f2f2f2;

    .btn-back {
      font-size: 14px;
      font-weight: 400;
      color: #333333;
      cursor: pointer;

      &:hover {
        color: #409eff;
      }
    }

    .line {
      width: 1px;
      height: 14px;
      background-color: #d8d8d8;
      margin-right: 15px;
      margin-left: 15px;
    }

    .name {
      font-size: 14px;
      font-weight: 600;
      color: #333333;
    }
  }
}

.blocks-box {
  position: fixed;
  top: 56px;
  left: 0;
  bottom: 0;
  width: 230px;
  background-color: white;
  box-sizing: border-box;
  padding: 30px;
  text-align: left;

  .title {
    width: 100%;
    height: auto;
    float: left;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    line-height: 16px;
    margin-bottom: 40px;
  }

  .blocks {
    width: 100%;
    height: auto;
    float: left;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    .block-item {
      text-align: center;

      .btn {
        display: inline-block;
        cursor: move;
        width: 60px;
        height: 60px;
        &:hover {
          box-shadow: 0px 4px 8px 0px rgba(102, 102, 102, 0.15);
          border-radius: 8px;
        }
        .icon {
          height: 44px;
        }

        .name {
          font-size: 12px;
          font-weight: 400;
          color: #666666;
          line-height: 12px;
        }
      }
    }
  }
}

.config-box {
  position: fixed;
  z-index: 50;
  top: 56px;
  right: 0;
  bottom: 0;
  width: 400px;
  box-sizing: border-box;
  background-color: white;
  overflow-y: auto;
}
